<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/md5.asp"-->
<!--#include file="../common/admin.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from base"
rs.open sql,conn,1,3
   rate=rs("rate")
   qq=rs("qq")
   wangwang=rs("wangwang")
   Copyright=rs("Copyright")
   tel=rs("tel")
   mobile=rs("mobile")
   worktime=rs("worktime")
   Address=rs("Address")
   FreeSaveDate=rs("FreeSaveDate") 
   auctions_title=rs("auctions_title") 
   auctions_key=rs("auctions_key") 
   auctions_desc=rs("auctions_desc") 
   shopping_title=rs("shopping_title") 
   shopping_key=rs("shopping_key") 
   shopping_desc=rs("shopping_desc") 
   transport_title=rs("transport_title") 
   transport_key=rs("transport_key") 
   transport_desc=rs("transport_desc")
   title=rs("title")
   key=rs("key")
   desc=rs("desc")
   CreditMargin=rs("CreditMargin")
   RemittanceCost=rs("RemittanceCost")
   TransportCost=rs("TransportCost")
   chat=rs("chat") 
   Clause=rs("Clause")  
   cookie=rs("cookie") 
rs.close
set rs=nothing
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>add</title>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<style>body {background-color: #eaece1;}</style>
</head>

<body>
<div class="main">
  <div class="main-title">基本信息</div>
  <div class="main-content"><table width="100%" border="0" cellspacing="1" cellpadding="3" class="tab">
  <form action="" method="post">
  <tr>
    <td width="29%" bgcolor="#FFFFFF">雅虎竞拍标题</td>
    <td width="71%" bgcolor="#FFFFFF"><input name="auctions_title" type="text" class="input" id="auctions_title" value="<%=auctions_title%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">雅虎竞拍关键字</td>
    <td bgcolor="#FFFFFF"><input name="auctions_key" type="text" class="input" id="auctions_key" value="<%=auctions_key%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">雅虎竞拍关键字描述</td>
    <td bgcolor="#FFFFFF"><textarea name="auctions_desc" cols="40" rows="4" class="content-input" id="auctions_desc"><%=auctions_desc%></textarea></td>
  </tr>
  <tr>
    <td width="29%" bgcolor="#FFFFFF">代购标题</td>
    <td width="71%" bgcolor="#FFFFFF"><input name="shopping_title" type="text" class="input" id="shopping_title" value="<%=shopping_title%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">代购关键字</td>
    <td bgcolor="#FFFFFF"><input name="shopping_key" type="text" class="input" id="shopping_key" value="<%=shopping_key%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">代购关键字描述</td>
    <td bgcolor="#FFFFFF"><textarea name="shopping_desc" cols="40" rows="4" class="content-input" id="shopping_desc"><%=shopping_desc%></textarea></td>
  </tr>
  <tr>
    <td width="29%" bgcolor="#FFFFFF">转运标题</td>
    <td width="71%" bgcolor="#FFFFFF"><input name="transport_title" type="text" class="input" id="transport_title" value="<%=transport_title%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">转运关键字</td>
    <td bgcolor="#FFFFFF"><input name="transport_key" type="text" class="input" id="transport_key" value="<%=transport_key%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">转运关键字描述</td>
    <td bgcolor="#FFFFFF"><textarea name="transport_desc" cols="40" rows="4" class="content-input" id="transport_desc"><%=transport_desc%></textarea></td>
  </tr>
  <tr>
    <td width="29%" bgcolor="#FFFFFF">首页标题</td>
    <td width="71%" bgcolor="#FFFFFF"><input name="title" type="text" class="input" id="title" value="<%=title%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">首页关键字</td>
    <td bgcolor="#FFFFFF"><input name="key" type="text" class="input" id="key" value="<%=key%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">首页关键字描述</td>
    <td bgcolor="#FFFFFF"><textarea name="desc" cols="40" rows="4" class="content-input" id="desc"><%=desc%></textarea></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">汇率</td>
    <td bgcolor="#FFFFFF"><input name="rate" type="text" class="input" style="width:50px;" id="rate" value="<%=FormatNumber(rate,4,-1)%>" />
      </td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">随便拍信用保证金</td>
    <td bgcolor="#FFFFFF"><input name="CreditMargin" type="text" class="input" id="CreditMargin" style="width:50px;" value="<%=CreditMargin%>" />
      人民币
      </td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">雅虎登陆cookie</td>
    <td bgcolor="#FFFFFF"><textarea name="cookie" cols="40" rows="4" class="content-input" id="cookie"><%=cookie%></textarea></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">费用试算</td>
    <td bgcolor="#FFFFFF">银行转账费<input name="RemittanceCost" type="text" class="input" style="width:50px;" value="<%=RemittanceCost%>" /> 日本当地运费<input name="TransportCost" type="text" class="input" style="width:50px;" value="<%=TransportCost%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">QQ</td>
    <td bgcolor="#FFFFFF"><input name="qq" type="text" class="input" id="qq" value="<%=qq%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">旺旺</td>
    <td bgcolor="#FFFFFF"><input name="wangwang" type="text" class="input" id="wangwang" value="<%=wangwang%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">电话</td>
    <td bgcolor="#FFFFFF"><input name="tel" type="text" class="input" value="<%=tel%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">手机</td>
    <td bgcolor="#FFFFFF"><input name="mobile" type="text" class="input" id="mobile" value="<%=mobile%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">工作时间</td>
    <td bgcolor="#FFFFFF"><input name="worktime" type="text" class="input" id="worktime" value="<%=worktime%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">转运地址</td>
    <td bgcolor="#FFFFFF"><input name="Address" type="text" class="input" id="Address" value="<%=Address%>" /></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">免费滞留天数</td>
    <td bgcolor="#FFFFFF"><input name="FreeSaveDate" type="text" class="input" id="FreeSaveDate" value="<%=FreeSaveDate%>" />
      天</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">聊天代码</td>
    <td bgcolor="#FFFFFF"><textarea name="chat" cols="40" rows="4" class="content-input" id="chat"><%=chat%></textarea></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">版权信息</td>
    <td bgcolor="#FFFFFF"><textarea name="copyright" cols="40" rows="4" class="content-input" id="copyright"><%=copyright%></textarea></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">代购注册条例</td>
    <td bgcolor="#FFFFFF"><textarea name="Clause" cols="40" rows="4" class="content-input" id="Clause"><%=Clause%></textarea></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF"><input type="submit" name="button" id="button" value="保存" /></td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    </form>
  </table>
</div>
</div>
</body>
</html>
<%
if request.Form("button")="保存" then
   
    rate=request.Form("rate")
	qq=request.Form("qq")
	wangwang=request.Form("wangwang")
	Copyright=request.Form("Copyright")
	tel=request.Form("tel")
	mobile=request.Form("mobile")
	worktime=request.Form("worktime")
	Address=request.Form("Address")
	FreeSaveDate=request.Form("FreeSaveDate")
	auctions_title=request.Form("auctions_title")
	auctions_key=request.Form("auctions_key")
	auctions_desc=request.Form("auctions_desc")
	shopping_title=request.Form("shopping_title")
	shopping_key=request.Form("shopping_key")
	shopping_desc=request.Form("shopping_desc")
	transport_title=request.Form("transport_title")
	transport_key=request.Form("transport_key")
	transport_desc=request.Form("transport_desc")
	title=request.Form("title")
	key=request.Form("key")
	desc=request.Form("desc")
	CreditMargin=request.Form("CreditMargin")
	RemittanceCost=request.Form("RemittanceCost")
	TransportCost=request.Form("TransportCost")
	chat=request.Form("chat")
	Clause=request.Form("Clause")
	cookie=request.Form("cookie")

	set rsx=server.createobject("adodb.recordset")
	sql="select * from base"
	rsx.open sql,conn,1,3
	rsx("rate")=rate
	rsx("qq")=qq
	rsx("wangwang")=wangwang
	rsx("Copyright")=Copyright
	rsx("tel")=tel
	rsx("mobile")=mobile
	rsx("worktime")=worktime
	rsx("Address")=Address
	rsx("FreeSaveDate")=FreeSaveDate
	rsx("auctions_title")=auctions_title
	rsx("auctions_key")=auctions_key
	rsx("auctions_desc")=auctions_desc
	rsx("shopping_title")=shopping_title
	rsx("shopping_key")=shopping_key
	rsx("shopping_desc")=shopping_desc
	rsx("transport_title")=transport_title
	rsx("transport_key")=transport_key
	rsx("transport_desc")=transport_desc
	rsx("title")=title
	rsx("key")=key
	rsx("desc")=desc
	rsx("CreditMargin")=CreditMargin
	rsx("RemittanceCost")=RemittanceCost
	rsx("TransportCost")=TransportCost
	rsx("chat")=chat
	rsx("Clause")=Clause
	rsx("cookie")=cookie
	rsx.update
	response.write"<script language=JavaScript>{window.alert('保存成功！');window.location.href='title.asp';}</script>"
	rsx.close
	set rsx=nothing
end if
%>